#include <QThread>

#include "ThreadObject.h"

#include <QDebug>

class A : public ThreadObject
{
	Q_OBJECT
	void run()
	{
		while(true) {
			qDebug() << "hello A";
			QThread::msleep(1);
		}
	}

};

class B : public ThreadObject
{
	Q_OBJECT
	void run()
	{
		while(true) {
			qDebug() << "hello B";
			QThread::msleep(1);
		}
	}
};
